import _fetch from './request'

function getBuildingList(params) {
    return _fetch({
        url: "/enterprise/list",
        params
    })
}
function setBuildingStatus(data) {
    return _fetch({
        url: "/enterprise/status",
        method: "post",
        data
    })
}
function setBuildingAdd(data) {
    return _fetch({
        url: "/enterprise/add",
        method: "post",
        data
    })
}
function setBuildingEdit(data) {
    return _fetch({
        url: "/enterprise/edit",
        method: "post",
        data
    })
} function setBuildingDel(data) {
    return _fetch({
        url: "/enterprise/remove",
        method: "post",
        data
    })
}
export { getBuildingList, setBuildingAdd, setBuildingStatus, setBuildingEdit, setBuildingDel }